package org.tagging.service;

import org.tagging.model.UnknownWord;
import org.tagging.model.UnknownWordMalay;

import java.time.LocalDateTime;
import java.util.List;

public interface UnknownWordService<T> {
    List<T> queryByTagId(Integer id);

    void update(UnknownWord unknownWord);

    UnknownWord queryById(Integer id);

    void add(UnknownWord unknownWord);

     List<? extends UnknownWord> queryByTimePeriod(LocalDateTime startTime, LocalDateTime endTime, int mode);

}
